package campfirelighter.utils {
	
	
	/**
	 * @author Danny Patterson
	 */
	public class ISODateUtil  {
		
		static public function parseISODate(isoDate:String):Date {
			isoDate = isoDate.replace(/\-/g, "/");
			isoDate = isoDate.replace("T", " ");
			isoDate = isoDate.replace("Z", " GMT-0000");
			return new Date(Date.parse(isoDate));
		}
		
	}
	
}